package cn.tedu.zx.product.service;


import cn.tedu.zx.pojo.court.dto.CourtUpdateDto;
import cn.tedu.zx.pojo.court.dto.PictureAddNewDto;
import cn.tedu.zx.pojo.court.dto.PictureUpdateDto;
import cn.tedu.zx.pojo.court.vo.CourtDetailsVo;
import cn.tedu.zx.pojo.court.vo.PageData;
import cn.tedu.zx.pojo.court.vo.PictureDetailsVo;
import org.springframework.transaction.annotation.Transactional;

@Transactional
public interface PictureService {
    void addNew(PictureAddNewDto pictureAddNewDto);
    void deleteById(Long id);
    void updateById(PictureUpdateDto pictureUpdateDto);

    PictureDetailsVo selectDetailsById(Long Id);
    PageData list(Integer pageNum);
    PageData list(Integer pageNum,Integer PageSize);
}
